package com.etpjava.service;

import java.util.Date;
import java.util.List;

import com.etpjava.model.Department;

public interface DepartmentService {
	public boolean saveDep(Department dp);
	public boolean delDep(int id);
	public boolean updDep(Department dp);
	public Department selectById(int id);
	public List<Department> selectByName(String name);
	public List<Department> selectByCreateTime(Date time);
	public List<Department> selectAll();
}
